#!/usr/bin/env python3


def greet_user(user_name):
	mes = print("are you user ",user_name)
	ans = input(":")

	if ans=='yes':
		print("wellcom nice to see you again")
	elif ans=='no':
		get_new_usrname(user_name)
	

def get_new_usrname(user_name):
		inputname=input(" please input your name sir:")
		user_name = inputname
		print("wellcom nice to see you ",user_name)
		
if __name__=='__main__':
	
	usrname="xxx"
	greet_user(usrname)
